package com.erp.fin.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 开票管理
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-09-02 10:48:33
 */
@Data
public class BillingDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	private Long id;
	//状态
	private Integer status;
	//发票代码
	@Excel(name = "发票代码", orderNum = "1")
	private String invoiceCode;
	//发票号码
	@Excel(name = "发票号码", orderNum = "2")
	private String invoiceNumber;
	//发票日期
	@Excel(name = "发票日期", orderNum = "3",format = "yyyy-MM-dd")
	private Date invoiceTime;
	//项目ID
	private Long projectId;
	//项目名称
	@Excel(name = "项目名称", orderNum = "4")
	private String projectName;
	//合同编号
	@Excel(name = "合同编号", orderNum = "5")
	private String projectNumber;
	//开票方ID
	private Long billingComplayId;
	//开票方
	@Excel(name = "开票方", orderNum = "6")
	private String billingComplayName;
	//收票方
	@Excel(name = "收票方", orderNum = "7")
	private String receiptName;
	//发票类型id
	private Long invoiceTypeid;
	//发票类型
	@Excel(name = "发票类型", orderNum = "8")
	private String invoiceType;
	//税率
	@Excel(name = "税率", orderNum = "9")
	private Double taxRate;
	//净额
	@Excel(name = "净额", orderNum = "10")
	private BigDecimal netAmount;
	//税额
	private BigDecimal taxAmount;
	//票额
	private BigDecimal invoiceAmount;
	//开票内容
	@Excel(name = "开票内容", orderNum = "11")
	private String invoiceDescr;
	//备注
	private String remarks;
	//创建人ID
	private Long userIdCreate;
	//创建人
	@Excel(name = "创建人", orderNum = "12")
	private String userNameCreate;
	//创建时间
	@Excel(name = "创建时间", orderNum = "13" ,format = "yyyy-MM-dd")
	private Date gmtCreate;
	//发票照片
	private String billingPic;

	private Date invoiceTimeend;
	private Date invoiceTimeStr;
}
